package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 订单模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum OrderExceptionEnum implements CodeEnum {
    /**
     * 订单相关
     */
    ORDER_NOT_EXIST(46001, "订单不存在"),
    ORDER_DETAIL_NOT_EXIST(46002, "订单详情不存在"),

    ;

    private final int code;
    private final String message;
}
